<include file="public@head_top"/>
</head>
<body class="bgeee">
<include file="public@head"/>

<div class="bannerBox" style="background-image:url(/themes/simpleboot3/public/assets/temp/banner_show.jpg);"><div class="bg"></div></div>
<div class="wrap clearfloat">

    <div class="aboutR">
		<div class="aboutH st-x-showmobile" style="margin-bottom:15px;">
            <h3>{$configlang[$configinfo['moduleid']]['columnname']}</h3>
            <h2>{$configinfo['columninfo']['name']}</h2>
        </div>
        <div class="aboutRTop">
            <p>{$configlang['Your_location']}{$configlang['mh']}{$ur_here}</p>
        </div>
    </div>
	<div class="aboutL st-x-showpc" style="margin-bottom: 0;">
        <!--<span class="BtnL"></span>-->
        <div class="aboutH st-x-showpc">
            <h3>{$configlang[$configinfo['moduleid']]['columnname']}</h3>
            <h2>{$configinfo['columninfo']['name']}</h2>
        </div>
    </div>
	<div style="clear: both"></div>
    
    <div class="caseBlock">
    	<div class='st-searchparameter st-block'>
            {$configinfo['searchparameterhtml']}
            <div style='clear:both;'></div>
          </div>
          <div class="hpNavBlock st-listBlock st-mt30">
            <ul class="st-flexBox">
              <portal:subcategories key="key" categoryId="$configinfo.moduleid">
                <php>$gettime = getflashtime(0.5,$key,1,1)</php>
                <li class='<if condition="$vo[id] == $category[id]">on</if> wow fadeInLeft' data-wow-duration="{$gettime}s">
                  <a href="{:cmf_url('portal/list/index',array('id'=>$vo.id))}" title="{$vo.name}">
                      {$vo.name}
                  </a>
                </li> 
                </portal:subcategories>
            </ul>
          </div>
        <div class="st-mart35 st-xd-mTop20">
        <ul class="ullistBlock">
        	<php>
                $where=[
                'post.create_time'=>['egt',0]
                ];
                $page=[
                    'list_rows'=>$configbase['config']['listnum2'],
                    'next'=>$configlang['Next_page'],
                    'prev'=>$configlang['Previous_page']
                ];
            </php>
            <portal:articles item="vo" where="$where" page="$page" relation="categories" categoryIds="$category.id" returnVarName="articles_data">
            <php>
            	$gettime = getflashtime(0.5,$key,2,3);
            	$cateMark = $vo['is_top'] == 1 ? "topMark" : ($vo['recommended'] == 1 ? "recMark" : "");
            </php>
            <li class="wow fadeInUp" data-wow-duration="{$gettime}s">
                <div class="pad">
                    <div class="pic st-ovev {$cateMark}"><a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id'],'cid'=>$vo['category_id']))}" title="{$vo.post_title}">
                    <empty name="vo.img_thumb">
                        <img src="__TMPL__/public/assets/images/default-thumbnail.png"
                             alt="{$vo.post_title}">
                        <else/>
                        <img src="{:cmf_get_image_url($vo.img_thumb)}"
                             alt="{$vo.post_title}">
                    </empty>
                    </a></div>
                    <div class="bor">
                        <div class="txt">
                            <div class="title">
                                <span><em>{:date('m/d',$vo.published_time)}</em>{:date('Y',$vo.published_time)}</span>
                                <h3><a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id'],'cid'=>$vo['category_id']))}" title="{$vo.post_title}">{$vo.post_title}</a></h3>
                            </div>
                            <a class="postdesc" href="{:cmf_url('portal/Article/index',array('id'=>$vo['id'],'cid'=>$vo['category_id']))}" title="{$vo.post_title}"><p>{$vo.post_excerpt}</p></a>
                        </div>
                        <div class="more"><a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id'],'cid'=>$vo['category_id']))}" title="{$vo.post_title}" class="r">{$configlang.lookdetail} ></a></div>
                    </div>
                </div>
            </li>
        	</portal:articles>
			<div class="st-clear"></div>
        </ul>
        </div>
        
        <style>
			.show-pages{ margin-top:0;}
			@media ( min-width: 992px) {
        		.show-pages{ margin-bottom:20px;}
			}
        </style>
        <div class="show-pages">
            <div class="show-pagination">
                <page/>
            </div>
        </div>
		
		<div class="st-block searchBlock st-mt15 st-bort st-borcd st-pt30 st-xd-pt20 st-xm-pt15 st-pb60 st-xd-pb30 st-xm-pb20">
			<div class="st-formBlock st-form45 st-xd-form38 st-wid70 st-xm-wid100 st-marc st-borr10">
				<form name="search" action="{:cmf_url('portal/Search/index')}">
					<input type="hidden" name="id" value="{$configinfo['moduleid']}" />
					<input type="text" placeholder="{$configlang['Enter_search_keywords']}" name="keyword" value="" style="width:73%; float:left; margin-right:2%;">
					<button type="submit" class="st-wid25 st-colf st-borr5 st-borcf0 st-hei45 st-fon16 st-bora st-borcc st-curp st-xd-hei38" style="background:#006b3e;">{$configlang['search']}</button>
					<div style="clear: both"></div>
				</form>
			</div>
		</div>
		
    </div>
    
</div>

<include file="public@footer"/>
</body>    
</html>